﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PresentationLayer
{
    public partial class FormTaiDSOnSite : Form
    {

        public int TypeLoad { get; set; }
        public FormTaiDSOnSite()
        {
            InitializeComponent();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {

            TypeLoad = 0;
            this.Close();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            if (radTaiDSOnSite.Checked)
                TypeLoad = 1;
            else 
                if(radTaiDSOnSiteHienHanh.Checked)
                    TypeLoad= 2;
            this.Close();
        }
    }
}
